package com.nicolas.pattern.responsibilitychain;

/**
 * 采购单：请求类  
 * @author nicolas  2017年2月12日 -- 下午4:10:02
 */
public class PurchaseRequest {
	private double amount;  //采购金额  
    private int number;  //采购单编号  
    private String purpose;  //采购目的  
      
    public PurchaseRequest(double amount, int number, String purpose) {  
        this.amount = amount;  
        this.number = number;  
        this.purpose = purpose;  
    }  
      
    public void setAmount(double amount) {  
        this.amount = amount;  
    }  
      
    public double getAmount() {  
        return this.amount;  
    }  
      
    public void setNumber(int number) {  
        this.number = number;  
    }  
      
    public int getNumber() {  
        return this.number;  
    }  
      
    public void setPurpose(String purpose) {  
        this.purpose = purpose;  
    }  
      
    public String getPurpose() {  
        return this.purpose;  
    }  
}
